<?php
namespace app\backend\controller;
use app\backend\model\left as LeftModel;

class Left extends Base
{

    public function homepage()
    {
        $leftModel = new LeftModel;
        $result = $leftModel->select();
        // var_dump($result);
        $this->assign('alltime',$result);
        $this->assign('empty',"暂无数据");
        return $this->fetch();

    }
}